package com.hirsi.core.interceptor;

import org.springframework.stereotype.Component;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 核心拦截器
 */
@Component
public class CoreHandlerInterceptor implements HHandlerInterceptor {

    @Override
    public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) {
        return true;
    }

    @Override
    public String[] addPaths() {
        return new String[0];
    }

    @Override
    public String[] excludePaths() {
        return new String[0];
    }

    @Override
    public int getOrder() {
        return 0;
    }
}
